package com.olymtech.jbricks.dingtalk.message;

/**
 * @author haoting.wang
 * @date 2020/12/10 2:31 下午
 **/
public enum MessageType {

    IMAGE("image", "图片"), TEXT("text", "普通消息"), LINK("link", "链接消息"),
    OA("oa", "OA消息");

    private String type;

    private String desc;

    MessageType(String type, String desc) {
        this.type = type;
        this.desc = desc;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }
}
